Carbon


PBGetWDInfoSync

Header: Files.h Carbon status: Unsupported

Gets information about a working directory.

OSErr PBGetWDInfoSync (
    WDPBPtr paramBlock
);
paramBlock

A pointer to a working directory parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The working directory can be specified either by its working directory reference number in ioVRefNum (in which case the value of ioWDIndex should be 0), or by its index number in ioWDIndex. In the latter case, if the value of ioVRefNum is not 0, it’s interpreted as a volume specification, and only working directories on that volume are indexed.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Working directories not supported. Use file system specification (FSSpec) records instead.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)